!function (e) {
    var t = {};

    function a(s) {
        if (t[s]) return t[s].exports;
        var n = t[s] = {i: s, l: !1, exports: {}};
        return e[s].call(n.exports, n, n.exports, a), n.l = !0, n.exports
    }

    a.m = e, a.c = t, a.d = function (e, t, s) {
        a.o(e, t) || Object.defineProperty(e, t, {enumerable: !0, get: s})
    }, a.r = function (e) {
        "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e, "__esModule", {value: !0})
    }, a.t = function (e, t) {
        if (1 & t && (e = a(e)), 8 & t) return e;
        if (4 & t && "object" == typeof e && e && e.__esModule) return e;
        var s = Object.create(null);
        if (a.r(s), Object.defineProperty(s, "default", {
            enumerable: !0,
            value: e
        }), 2 & t && "string" != typeof e) for (var n in e) a.d(s, n, function (t) {
            return e[t]
        }.bind(null, n));
        return s
    }, a.n = function (e) {
        var t = e && e.__esModule ? function () {
            return e.default
        } : function () {
            return e
        };
        return a.d(t, "a", t), t
    }, a.o = function (e, t) {
        return Object.prototype.hasOwnProperty.call(e, t)
    }, a.p = "./", a(a.s = 0)
}([function (e, t, a) {
    "use strict";
    var s = a(1), n = function (e) {
        if (e && e.__esModule) return e;
        var t = {};
        if (null != e) for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && (t[a] = e[a]);
        return t.default = e, t
    }(a(2));
    var r = navigator.userAgent, o = (navigator.appVersion, r.indexOf("Android") > -1 || r.indexOf("Linux") > -1),
        i = !!r.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
    o ? (window.WorkHelper = n.WorkHelper, window.SelfHelper = n.SelfHelper, window.JsInterface = n.JsInterface) : i && (void 0 === window.webkit ? (window.WorkHelper = new s.SubAPPExchange, window.SelfHelper = new s.MainAPPExchange) : (window.WorkHelper = new s.SubAPPExchangeNew, window.SelfHelper = new s.MainAPPExchangeNew))
}, function (e, t, a) {
    "use strict";
    Object.defineProperty(t, "__esModule", {value: !0});
    var s = function () {
    };
    s.prototype.getToken = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = mainapp.getCurrentAPPToken(), s = mainapp.getSSOToken();
            t({retCode: "0", retMsg: "成功", retData: {appToken: a, ssoToken: s}})
        } else setTimeout((function () {
            var e = mainapp.getCurrentAPPToken(), a = mainapp.getSSOToken();
            t({retCode: "0", retMsg: "成功", retData: {appToken: e, ssoToken: a}})
        }), 300)
    }, s.prototype.saveLocalData = function (e) {
        var t = e.success, a = (e.fail, {appCode: e.appCode, key: e.key, value: e.value});
        if (window.mainapp) {
            mainapp.saveLocalData(JSON.stringify(a));
            t({retCode: "0", retMsg: "成功", retData: ""})
        } else setTimeout((function () {
            mainapp.saveLocalData(JSON.stringify(a));
            t({retCode: "0", retMsg: "成功", retData: ""})
        }), 300)
    }, s.prototype.getLocalData = function (e) {
        var t = e.success, a = e.fail, s = {appCode: e.appCode, key: e.key};
        if (window.mainapp) {
            var n = mainapp.getLocalData(JSON.stringify(s));
            if (n) t({retCode: "0", retMsg: "成功", retData: n}); else a({
                retCode: "-1",
                retMsg: "找不到数据",
                retData: ""
            })
        } else setTimeout((function () {
            var e = mainapp.getLocalData(JSON.stringify(s));
            e ? t({retCode: "0", retMsg: "成功", retData: e}) : a({retCode: "-1", retMsg: "找不到数据", retData: ""})
        }), 300)
    }, s.prototype.openApp = function (e) {
        var t = e.appCode, a = e.param, s = e.success, n = (e.fail, {appCode: t, param: a});
        mainapp.openSubApp(JSON.stringify(n));
        var r = window.setInterval((function () {
            var e = mainapp.getOpenAppReturn();
            1 == e ? 1 : (s({retCode: "0", retMsg: "成功", retData: e}), window.clearInterval(r))
        }), 100)
    }, s.prototype.closeApp = function (e) {
        var t = e.success, a = (e.fail, e.data);
        if (window.mainapp) {
            window.mainapp.closeSubApp(a);
            t({retCode: "0", retMsg: "msg"})
        } else setTimeout((function () {
            window.mainapp.closeSubApp(a);
            t({retCode: "0", retMsg: "msg"})
        }), 300)
    }, s.prototype.sendMsg = function (e) {
        e.success, e.fail;
        var t = e.phone;
        window.location.href = "sms:" + t
    }, s.prototype.call = function (e) {
        e.success, e.fail;
        var t = e.phone;
        window.location.href = "tel:" + t
    }, s.prototype.getGps = function (e) {
        var t = e.success, a = (e.fail, e.type);
        if (window.mainapp) {
            mainapp.getGps(a);
            var s = 0, n = window.setInterval((function () {
                var e = mainapp.getGpsReturn();
                if ("0" == e || "BAIDU" == a && "" == e.addrStr) {
                    if ((s += 1) > 1e4) window.clearInterval(n), t(r = {retCode: "-1", retMsg: "失败", retData: ""})
                } else {
                    window.clearInterval(n);
                    var r = {retCode: "0", retMsg: "成功", retData: JSON.parse(e)};
                    t(r)
                }
            }), 100)
        } else setTimeout((function () {
            mainapp.getGps(a);
            var e = 0, s = window.setInterval((function () {
                var n = mainapp.getGpsReturn();
                "0" == n || "BAIDU" == a && "" == n.addrStr ? (e += 1) > 1e4 && (window.clearInterval(s), t({
                    retCode: "-1",
                    retMsg: "失败",
                    retData: ""
                })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: n}))
            }), 100)
        }), 300)
    }, s.prototype.uploadAudio = function (e) {
        var t = e.success;
        e.fail;
        if ("0" == e.param) {
            mainapp.openAudioView();
            t({retCode: "0", retMsg: "开始录制", retData: "0"})
        } else {
            mainapp.stopAudioView();
            var a = 0, s = window.setInterval((function () {
                var e = mainapp.getAudioReturn();
                "0" == e ? (a += 1) > 1e4 && (window.clearInterval(s), t({
                    retCode: "-1",
                    retMsg: "录音失败",
                    retData: ""
                })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: e}))
            }), 100)
        }
    }, s.prototype.audioToText = function (e) {
        var t = e.success;
        e.fail;
        if ("0" == "" + e.param) {
            mainapp.openAudioView("1");
            t({retCode: "0", retMsg: "开始录制", retData: "0"})
        } else {
            mainapp.stopAudioView();
            var a = 0, s = window.setInterval((function () {
                var e = mainapp.getAudioReturn();
                "0" == e ? (a += 1) > 1e4 && (window.clearInterval(s), t({
                    retCode: "-1",
                    retMsg: "录音失败",
                    retData: ""
                })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: e}))
            }), 100)
        }
    }, s.prototype.takePhoto = function (e) {
        var t = e.uploadFlag + "#" + e.compressImage + "isHideSelect" + e.isHideSelect, a = e.success, s = e.fail;
        mainapp.openImagePicker(t);
        var n = 0, r = window.setInterval((function () {
            var t = mainapp.getMyPhoto();
            if ("0" == t) (n += 1) > 1e4 && (window.clearInterval(r), s({
                retCode: "-1",
                retMsg: "拍照时间过长",
                retData: ""
            })); else if ("-1" == t) {
                window.clearInterval(r), s({retCode: "0", retMsg: "您取消了拍照", retData: ""})
            } else {
                window.clearInterval(r), "1" == e.uploadFlag && (t = JSON.parse(t)), a({
                    retCode: "0",
                    retMsg: "成功",
                    retData: t
                })
            }
        }), 100)
    }, s.prototype.uploadFile = function (e) {
        var t = e.success, a = e.fail, s = "2" + e.compressImage;
        mainapp.openImagePicker(s);
        var n = 0, r = window.setInterval((function () {
            var e = mainapp.getMyPhoto();
            if ("0" == e) (n += 1) > 1e4 && (window.clearInterval(r), a({
                retCode: "-1",
                retMsg: "拍照时间过长",
                retData: ""
            })); else if ("-1" == e) {
                window.clearInterval(r), a({retCode: "0", retMsg: "您取消了拍照", retData: ""})
            } else {
                window.clearInterval(r), t({retCode: "0", retMsg: "成功", retData: e})
            }
        }), 100)
    }, s.prototype.multiTakePhoto = function (e) {
        var t = e.success, a = e.fail;
        mainapp.multiTakePhoto();
        var s = 0, n = window.setInterval((function () {
            var e = mainapp.getMultiPhotos();
            if ("0" == e) (s += 1) > 2e3 && (window.clearInterval(n), a({
                retCode: "-1",
                retMsg: "获取图片时间过长",
                retData: ""
            })); else if ("-1" == e) {
                window.clearInterval(n), a({retCode: "0", retMsg: "您取消了获取图片", retData: ""})
            } else {
                window.clearInterval(n), e = JSON.stringify(e), t({retCode: "0", retMsg: "成功", retData: e})
            }
        }), 100)
    }, s.prototype.scan = function (e) {
        var t = e.success;
        e.fail;
        mainapp.openScanView();
        var a = 0, s = window.setInterval((function () {
            var e = mainapp.getScanResult();
            "0" == e ? (a += 1) > 1e4 && (window.clearInterval(s), t({
                retCode: "-1",
                retMsg: "失败",
                retData: ""
            })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: e}))
        }), 100)
    }, s.prototype.showWatermark = function (e) {
        e.success, e.fail;
        window.mainapp ? window.mainapp.showWaterBg() : setTimeout((function () {
            window.mainapp.showWaterBg()
        }), 300)
    }, s.prototype.hideWatermark = function (e) {
        e.success, e.fail;
        window.mainapp.hideWaterBg()
    }, s.prototype.banScreenshot = function (e) {
        e.success, e.fail
    }, s.prototype.canScreenshot = function (e) {
        e.success, e.fail
    }, s.prototype.showMenu = function (e) {
        e.success, e.fail;
        window.mainapp ? window.mainapp.showTabBar() : setTimeout((function () {
            window.mainapp.showTabBar()
        }), 300)
    }, s.prototype.hideMenu = function (e) {
        e.success, e.fail;
        window.mainapp ? window.mainapp.hideTabBar() : setTimeout((function () {
            window.mainapp.hideTabBar()
        }), 100)
    }, s.prototype.share = function (e) {
        e.success, e.fail;
        var t = e.appCode, a = e.param, s = {appCode: t, shareType: e.shareType, param: JSON.stringify(a)};
        mainapp.appShare(JSON.stringify(s))
    }, s.prototype.getIMEI = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = mainapp.getIMEI();
            t({retCode: "0", retMsg: "成功", retData: a})
        } else setTimeout((function () {
            var e = mainapp.getIMEI();
            t({retCode: "0", retMsg: "成功", retData: e})
        }), 100)
    }, s.prototype.printLog = function (e, t, a) {
        var s = {tag: e, content: t, level: a};
        window.mainapp.printLog(JSON.stringify(s))
    }, s.prototype.screenShare = function (e) {
        var t = e.success;
        e.fail;
        window.mainapp.screenShare();
        t({retCode: "0", retMsg: "成功"})
    }, s.prototype.getScreen = function (e) {
        var t = e.success;
        e.fail;
        window.mainapp.getScreen();
        t({retCode: "0", retMsg: "成功"})
    }, s.prototype.scanImg = function (e) {
        var t = e.success, a = e.fail, s = e.imgUrl, n = window.mainapp.scanQRImg(s);
        "0" == n ? a({retCode: "-1", retData: "无法识别", retMsg: "失败"}) : t({
            retCode: "0",
            retData: n,
            retMsg: "成功"
        })
    }, s.prototype.getFontSize = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = window.mainapp.getFontSize();
            t({retCode: "0", retMsg: "成功", retData: a})
        } else setTimeout((function () {
            var e = window.mainapp.getFontSize();
            t({retCode: "0", retMsg: "成功", retData: e})
        }), 100)
    }, s.prototype.getNewAppToken = function (e) {
        var t = e.success, a = (e.fail, e.oldAppToken);
        if (window.mainapp) {
            mainapp.getNewAppToken(a);
            var s = 0, n = window.setInterval((function () {
                var e = mainapp.getNewAppTokenReturn();
                s < 99 && "1" == e ? s += 1 : (t({retCode: "0", retMsg: "成功", retData: e}), window.clearInterval(n));
                99 != s && "0" != e || (t({
                    retCode: "-1",
                    retMsg: "获取新的Token失败",
                    retData: ""
                }), window.clearInterval(n))
            }), 100)
        } else setTimeout((function () {
            mainapp.getNewAppToken(a);
            var e = 0, s = window.setInterval((function () {
                var a = mainapp.getNewAppTokenReturn();
                e < 99 && "1" == a ? e += 1 : (t({retCode: "0", retMsg: "成功", retData: a}), window.clearInterval(s));
                99 != e && "0" != a || (t({
                    retCode: "-1",
                    retMsg: "获取新的Token失败",
                    retData: ""
                }), window.clearInterval(s))
            }), 100)
        }), 100)
    }, s.prototype.showKeyboard = function () {
        window.mainapp ? window.mainapp.showKeyboard() : setTimeout((function () {
            window.mainapp.showKeyboard()
        }), 100)
    }, s.prototype.createShortcut = function (e) {
        var t = e.success,
            a = (e.fail, {appCode: e.appCode, param: e.param, shortcutName: e.shortcutName, imagePath: e.imagePath});
        window.mainapp.createShortcut(JSON.stringify(a));
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, s.prototype.getFace = function (e) {
        var t = e.success;
        e.fail;
        window.mainapp.openCRMSDK();
        var a = 0, s = window.setInterval((function () {
            var e = mainapp.getCRMSDKReturn();
            "0" == e ? (a += 1) > 1e4 && (window.clearInterval(s), t({
                retCode: "-1",
                retMsg: "失败",
                retData: ""
            })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: e}))
        }), 100)
    }, s.prototype.joinOnlineMeeting = function (e) {
        var t = e.success, a = (e.fail, {
            meetingId: e.meetingId,
            meetingPassword: e.meetingPassword,
            isOpenCamera: e.isOpenCamera ? "1" : "0",
            isOpenAudio: e.isOpenAudio ? "1" : "0"
        });
        if (window.mainapp) {
            var s = window.mainapp.joinOnlineMeeting(JSON.stringify(a));
            t({retCode: "0", retMsg: s})
        } else setTimeout((function () {
            var e = window.mainapp.joinOnlineMeeting(JSON.stringify(a));
            t({retCode: "0", retMsg: e})
        }), 100)
    }, s.prototype.fileDownLoad = function (e) {
        var t = e.fileUrl;
        e.cookie || void 0 === e.cookie || 0 == e.cookie || (t = e.fileUrl + "##" + e.cookie);
        e.success, e.fail;
        window.mainapp.fileDownLoad(t)
    }, s.prototype.wxApplet = function (e) {
        var t = {appId: e.appId, userName: e.userName, path: e.path};
        e.success, e.fail;
        window.mainapp.wxApplet(JSON.stringify(t))
    };
    var n = function () {
    };
    n.prototype.logout = function (e) {
        var t = e.success;
        e.fail;
        window.mainapp.closeMainAPP();
        t({retCode: "0", retMsg: "成功"})
    }, n.prototype.openAuth = function (e) {
        console.log(e), e.useVpn ? window.mainapp.getOpenAuth("1") : window.mainapp.getOpenAuth("0");
        var t = e.success, a = e.fail, s = window.setInterval((function () {
            var e = window.mainapp.getTYToken();
            if ("" == e) ; else if ("error" == e) {
                a({retCode: -7002, retMsg: "取消登录"}), window.clearInterval(s)
            } else window.clearInterval(s), t(e)
        }), 100)
    }, n.prototype.restartApp = function (e) {
        var t = e.success;
        e.fail;
        window.mainapp.restartApp();
        t({retCode: "0", retMsg: "成功"})
    }, n.prototype.launchHome = function (e) {
        var t = e.tyrzAccessToken, a = e.userAccessToken, s = e.imToken, n = e.ce, r = e.te, o = e.userId, i = {
            tyrzAccessToken: t,
            userAccessToken: a,
            imToken: s,
            staff_name: e.staff_name,
            userId: o,
            innerUserFlag: e.innerUserFlag,
            vpnFlag: e.vpnFlag,
            menWeiFlag: e.menWeiFlag,
            phoneNum: e.phoneNum,
            ce: decodeURIComponent(n),
            te: decodeURIComponent(r)
        };
        console.log(JSON.stringify(i)), window.mainapp.launchHome(JSON.stringify(i))
    }, n.prototype.installApp = function (e) {
        var t = e.success, a = (e.fail, e.appInfo),
            s = {retCode: "1", retMsg: "成功", retData: {appId: a.APP_ID, progress: 1}};
        t(s), mainapp.installApp(JSON.stringify(a));
        var n = 0, r = window.setInterval((function () {
            var e = mainapp.getInstallState(JSON.stringify(a));
            n < 100 && "1" == e && (n += 1);
            var s = {retCode: e, retMsg: "成功", retData: {appId: a.APP_ID, progress: n}};
            if (t(s), 100 == n || "0" == e || "-1" == e) {
                window.clearInterval(r);
                s = {retCode: e, retMsg: "成功", retData: {appId: a.APP_ID, progress: 100}};
                t(s)
            }
        }), 200)
    }, n.prototype.unInstallApp = function (e) {
        var t = e.appCode, a = e.appId, s = e.success, n = (e.fail, {appId: a, appCode: t});
        mainapp.unInstallApp(JSON.stringify(n));
        s({retCode: "0", retMsg: ""})
    }, n.prototype.getUserToken = function (e) {
        var t = e.type, a = e.success;
        e.fail;
        if (window.mainapp) {
            var s = mainapp.getUserToken(t);
            a({retCode: "0", retMsg: "成功", retData: s})
        } else setTimeout((function () {
            if (window.mainapp) {
                var e = mainapp.getUserToken(t);
                a({retCode: "0", retMsg: "成功", retData: e})
            } else setTimeout((function () {
                var e = mainapp.getUserToken(t);
                a({retCode: "0", retMsg: "成功", retData: e})
            }), 300)
        }), 300)
    }, n.prototype.getNightStatus = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = mainapp.getNightStatus();
            t({retCode: "0", retMsg: "成功", retData: a})
        } else setTimeout((function () {
            var e = mainapp.getNightStatus();
            t({retCode: "0", retMsg: "成功", retData: e})
        }), 300)
    }, n.prototype.setNightStatus = function (e) {
        var t = e.nightStatus + "", a = e.success;
        e.fail;
        mainapp.setNightStatus(t);
        a({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.getInnerUserFlag = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = mainapp.getInnerUserFlag();
            t({retCode: "0", retMsg: "成功", retData: a})
        } else setTimeout((function () {
            var e = mainapp.getInnerUserFlag();
            t({retCode: "0", retMsg: "成功", retData: e})
        }), 300)
    }, n.prototype.getUser = function (e) {
        var t = e.success;
        e.fail;
        t({retCode: "0", retMsg: "成功", retData: window.mainapp.getNimUser()})
    }, n.prototype.getTeam = function (e) {
        var t = e.success;
        e.fail;
        t({retCode: "0", retMsg: "成功", retData: window.mainapp.getNimTeam()})
    }, n.prototype.startP2PSession = function (e) {
        e.success, e.fail;
        window.mainapp.personalChat(e.account)
    }, n.prototype.addMembersToTeam = function (e) {
        var t = e.success, a = (e.fail, {selected: e.selected, teamId: e.teamId});
        t({retCode: "0", retMsg: "成功", retData: window.mainapp.addMembersToTeam(JSON.stringify(a))})
    }, n.prototype.queryRecentContacts = function (e) {
        var t = e.success;
        e.fail, e.pageNum;
        if (window.mainapp) {
            var a = window.mainapp.queryRecentContacts();
            t({retCode: "0", retMsg: "成功", retData: a})
        } else setTimeout((function () {
            var e = window.mainapp.queryRecentContacts();
            t({retCode: "0", retMsg: "成功", retData: e})
        }), 300)
    }, n.prototype.startTeamSession = function (e) {
        e.success, e.fail;
        var t = e.account;
        window.mainapp.groupChat(t)
    }, n.prototype.getHeadImgUrl = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = window.mainapp.getHeadImgUrl();
            t({retCode: "0", retMsg: "", retData: a})
        } else setTimeout((function () {
            var e = window.mainapp.getHeadImgUrl();
            t({retCode: "0", retMsg: "", retData: e})
        }), 300)
    }, n.prototype.forwardMessage = function (e) {
        var t = e.success, a = (e.fail, {uuid: e.uuid, select: e.select}),
            s = window.mainapp.forwardMessage(JSON.stringify(a));
        data = {retCode: "1", retMsg: "", retData: s}, t(data)
    }, n.prototype.getVersion = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = mainapp.getCurrentVersion();
            t({retCode: "0", retMsg: "成功", retData: a})
        } else setTimeout((function () {
            var e = mainapp.getCurrentVersion();
            t({retCode: "0", retMsg: "成功", retData: e})
        }), 200)
    }, n.prototype.getOfflineH5AppFileUrl = function (e) {
        var t = e.success, a = (e.fail, e.appCode);
        t({retCode: "0", retMsg: "成功", retData: mainapp.getOutLineAppFileUrl(a)})
    }, n.prototype.startAudio = function (e) {
        var t = e.success, a = (e.fail, e.account);
        mainapp.startAudio(a);
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.startVideo = function (e) {
        var t = e.success, a = (e.fail, e.account);
        mainapp.startVideo(a);
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.getInnerAppVersion = function (e) {
        var t = e.success, a = (e.fail, e.appCode);
        e.appId;
        if (window.mainapp) {
            var s = mainapp.getInnerAppVersion(a);
            t({retCode: "0", retMsg: "成功", retData: s})
        } else setTimeout((function () {
            var e = mainapp.getInnerAppVersion(a);
            t({retCode: "0", retMsg: "成功", retData: e})
        }), 100)
    }, n.prototype.updateAppInfo = function (e) {
        var t = e.success, a = (e.fail, e.appInfo);
        mainapp.updateAppInfo(JSON.stringify(a));
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.openCreateTeamPage = function (e) {
        var t = e.success;
        e.fail;
        mainapp.openCreateTeamPage();
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.searchTeam = function (e) {
        var t = e.success, a = (e.fail, e.msg);
        if (window.mainapp) {
            mainapp.searchTeam(a);
            var s = 0, n = window.setInterval((function () {
                var e = mainapp.getSearchTeamResult();
                "0" == e ? (s += 1) > 100 && (window.clearInterval(n), t({
                    retCode: "-1",
                    retMsg: "失败",
                    retData: ""
                })) : (window.clearInterval(n), t({retCode: "0", retMsg: "成功", retData: e}))
            }), 100)
        } else setTimeout((function () {
            mainapp.searchTeam(a);
            var e = 0, s = window.setInterval((function () {
                var a = mainapp.getSearchTeamResult();
                "0" == a ? (e += 1) > 100 && (window.clearInterval(s), t({
                    retCode: "-1",
                    retMsg: "失败",
                    retData: ""
                })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: a}))
            }), 100)
        }), 100)
    }, n.prototype.searchMsg = function (e) {
        var t = e.success, a = (e.fail, e.query);
        if (window.mainapp) {
            mainapp.searchMsg(a);
            var s = 0, n = window.setInterval((function () {
                var e = mainapp.getSearchMsgResult();
                "0" == e ? (s += 1) > 100 && (window.clearInterval(n), t({
                    retCode: "-1",
                    retMsg: "失败",
                    retData: ""
                })) : (window.clearInterval(n), t({retCode: "0", retMsg: "成功", retData: e}))
            }), 100)
        } else setTimeout((function () {
            mainapp.searchMsg(a);
            var e = 0, s = window.setInterval((function () {
                var a = mainapp.getSearchMsgResult();
                "0" == a ? (e += 1) > 100 && (window.clearInterval(s), t({
                    retCode: "-1",
                    retMsg: "失败",
                    retData: ""
                })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: a}))
            }), 100)
        }), 100)
    }, n.prototype.displayMessageActivity = function (e) {
        var t = e.success, a = (e.fail, {uuid: e.uuid, sessionId: e.sessionId});
        mainapp.displayMessageActivity(JSON.stringify(a));
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.searchDetailMessage = function (e) {
        var t = e.success,
            a = (e.fail, {query: e.query, count: e.count, sessionId: e.sessionId, sessionType: e.sessionType});
        if (window.mainapp) {
            mainapp.searchDetailMessage(JSON.stringify(a));
            var s = 0, n = window.setInterval((function () {
                var e = mainapp.getSearchDetailMessage();
                "0" == e ? (s += 1) > 100 && (window.clearInterval(n), t({
                    retCode: "-1",
                    retMsg: "失败",
                    retData: ""
                })) : (window.clearInterval(n), t({retCode: "0", retMsg: "成功", retData: e}))
            }), 100)
        } else setTimeout((function () {
            mainapp.searchDetailMessage(JSON.stringify(a));
            var e = 0, s = window.setInterval((function () {
                var a = mainapp.getSearchDetailMessage();
                "0" == a ? (e += 1) > 100 && (window.clearInterval(s), t({
                    retCode: "-1",
                    retMsg: "失败",
                    retData: ""
                })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: a}))
            }), 100)
        }), 100)
    }, n.prototype.checkUpdate = function (e) {
        var t = e.success, a = (e.fail, e.type);
        mainapp.checkUpdate(JSON.stringify(a));
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.loginByAccount = function (e) {
        var t = e.username, a = e.password, s = e.index_code, n = e.success, r = e.fail,
            o = {username: t, password: a, index_code: s};
        console.log(JSON.stringify(o)), window.mainapp.loginByAccount(JSON.stringify(o));
        var i = 0, p = window.setInterval((function () {
            var e = mainapp.loginByAccountReturn();
            if ("0" == e) (i += 1) > 1e3 && window.clearInterval(p); else if ("1" == e) {
                n({retCode: "0", retMsg: "成功", retData: e}), window.clearInterval(p)
            } else {
                window.clearInterval(p), r({retCode: "0", retMsg: e, retData: e})
            }
        }), 100)
    }, n.prototype.showFlag = function (e) {
        var t = e.success;
        e.fail;
        t({retCode: "0", retMsg: "成功", retData: window.mainapp.showFlag()})
    }, n.prototype.vibrationFlag = function (e) {
        var t = e.success;
        e.fail;
        t({retCode: "0", retMsg: "成功", retData: window.mainapp.vibrationFlag()})
    }, n.prototype.isShowVoice = function (e) {
        var t = e.showFlag, a = e.success;
        e.fail;
        window.mainapp.isShowVoice(JSON.stringify(t));
        a({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.isShowVibration = function (e) {
        var t = e.showFlag, a = e.success;
        e.fail;
        window.mainapp.isShowVibration(JSON.stringify(t));
        a({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.openPeopleSelectPage = function (e) {
        var t = e.success;
        e.fail;
        window.mainapp.openPeopleSelectPage();
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.openUserInfoPage = function (e) {
        var t = e.success, a = (e.fail, e.account);
        window.mainapp.openUserInfoPage(a);
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.setFontSize = function (e) {
        var t = e.lever, a = e.success;
        e.fail;
        window.mainapp.setFontSize(t);
        a({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.openMyPage = function (e) {
        var t = e.success;
        e.fail;
        window.mainapp.openMinePage();
        t({retCode: "0", retMsg: "成功"})
    }, n.prototype.setReadPoint = function (e) {
        var t = e.moduleId, a = e.count, s = e.success, n = (e.fail, {moduleId: t, count: a});
        window.mainapp.setReadPoint(JSON.stringify(n));
        s({retCode: "0", retMsg: "成功", retData: ""})
    }, n.prototype.getNetworkModle = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = mainapp.getNetworkModle();
            t({retCode: "0", retMsg: "成功", retData: a})
        } else setTimeout((function () {
            var e = 0;
            e = !window.mainapp && window.parent.mainapp ? window.parent.mainapp.getNetworkModle() : mainapp.getNetworkModle(), t({
                retCode: "0",
                retMsg: "成功",
                retData: e
            })
        }), 300)
    }, n.prototype.clearCache = function (e) {
        var t = e.success;
        e.fail;
        window.mainapp.clearCache();
        t({retCode: "0", retMsg: "成功"})
    }, n.prototype.openMyFiles = function (e) {
        var t = e.success;
        e.fail;
        window.mainapp.openMyFiles();
        t({retCode: "0", retMsg: "成功"})
    }, n.prototype.setDuMessageNoticeType = function (e) {
        var t = "" + e.noticeType, a = e.success;
        e.fail;
        window.mainapp.setDuMessageNoticeType(t);
        a({retCode: "0", retMsg: "成功"})
    }, n.prototype.getDuMessageNoticeType = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = window.mainapp.getDuMessageNoticeType();
            t({retCode: "0", retMsg: "成功", retData: a})
        } else setTimeout((function () {
            var e = window.mainapp.getDuMessageNoticeType();
            t({retCode: "0", retMsg: "成功", retData: e})
        }), 200)
    }, n.prototype.getImUserID = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = window.mainapp.getImUserID();
            t({retCode: "0", retMsg: "成功", retData: a})
        } else setTimeout((function () {
            var e = window.mainapp.getImUserID();
            t({retCode: "0", retMsg: "成功", retData: e})
        }), 100)
    }, n.prototype.applyJoinTeam = function (e) {
        var t = e.teamId, a = e.success;
        e.fail;
        window.mainapp.applyJoinTeam(t);
        a({retCode: "0", retMsg: "成功"})
    }, n.prototype.loginVpn = function (e) {
        var t = {vpnAddre: e.vpnAddre, account: e.account, passWord: e.passWord, extraCode: e.extraCode}, a = e.success;
        e.fail;
        window.mainapp.loginVpn(JSON.stringify(t));
        a({retCode: "0", retMsg: "成功"})
    }, n.prototype.continueToLoginWithExtraCode = function (e) {
        var t = {vpnAddre: e.vpnAddre, account: e.account, passWord: e.passWord, extraCode: e.extraCode}, a = e.success,
            s = e.fail;
        window.mainapp.continueToLoginWithExtraCode(JSON.stringify(t));
        var n = window.setInterval((function () {
            var e = mainapp.continueToLoginWithExtraCodeResult();
            if ("0" == e) timecout += 1, timecout > 1e3 && window.clearInterval(n); else if ("1" == e) {
                a({retCode: "0", retMsg: "成功", isReady: "1"}), window.clearInterval(n)
            } else {
                window.clearInterval(n), s({retCode: "0", retMsg: e, message: e})
            }
        }), 100)
    }, n.prototype.getvpnStatus = function (e) {
        var t = e.success;
        e.fail;
        if (window.mainapp) {
            var a = window.mainapp.getvpnStatus();
            t({retCode: "0", retMsg: "成功", isReady: a})
        } else setTimeout((function () {
            var e = window.mainapp.getvpnStatus();
            t({retCode: "0", retMsg: "成功", isReady: e})
        }), 100)
    }, n.prototype.openStudySearch = function () {
        window.mainapp.openStudySearch()
    }, n.prototype.openNeedDeal = function () {
        window.mainapp.openNeedDeal()
    }, n.prototype.openNeedRead = function () {
        window.mainapp.openNeedRead()
    }, n.prototype.openNotice = function () {
        window.mainapp.openNotice()
    }, n.prototype.getVpnSms = function (e) {
        var t = e.success, a = (e.fail, e.phone);
        window.mainapp.getVpnSms(a);
        t({retCode: "0", retMsg: "成功"})
    }, n.prototype.changeEnterprise = function (e) {
        var t = e.success, a = (e.fail, e.companyId);
        window.mainapp.changeEnterprise(a);
        t({retCode: "0", retMsg: "成功"})
    }, n.prototype.LoginByVpn = function (e) {
        var t = e.success, a = (e.fail, e.smsCode);
        window.mainapp.LoginByVpn(a);
        t({retCode: "0", retMsg: "成功", data: {id: "", token: ""}})
    };
    var r = function () {
    };
    r.prototype.getToken = function (e) {
        var t = e.success, a = (e.fail, {type: "JSbridge", functionName: "getCurrentAPPToken"}),
            s = {type: "JSbridge", functionName: "getSSOToken"};
        t({
            retCode: "0",
            retMsg: "成功",
            retData: {appToken: prompt(JSON.stringify(a)), ssoToken: prompt(JSON.stringify(s))}
        })
    }, r.prototype.getIMEI = function (e) {
        var t = e.success, a = (e.fail, {type: "JSbridge", functionName: "getIMEI"});
        t({retCode: "0", retMsg: "成功", retData: prompt(JSON.stringify(a))})
    }, r.prototype.openApp = function (e) {
        var t = e.appCode, a = e.param, s = e.success, n = (e.fail, {appCode: t, param: a});
        window.webkit.messageHandlers.openSubApp.postMessage({params: JSON.stringify(n)});
        var r = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getOpenAppReturn"}, t = prompt(JSON.stringify(e));
            "1" == t ? timecout += 1 : (s({retCode: "0", retMsg: "成功", retData: t}), window.clearInterval(r))
        }), 100)
    }, r.prototype.closeApp = function (e) {
        var t = e.success, a = (e.fail, e.data);
        window.webkit.messageHandlers.closeSubApp.postMessage({params: a});
        t({retCode: "0", retMsg: "msg"})
    }, r.prototype.sendMsg = function (e) {
        e.success, e.fail;
        var t = e.phone;
        window.location.href = "sms:" + t
    }, r.prototype.call = function (e) {
        e.success, e.fail;
        var t = e.phone;
        window.location.href = "tel:" + t
    }, r.prototype.takePhoto = function (e) {
        var t = e.uploadFlag + "#" + e.compressImage + "isHideSelect" + e.isHideSelect, a = e.success, s = e.fail;
        window.webkit.messageHandlers.openImagePicker.postMessage({params: t});
        var n = 0, r = window.setInterval((function () {
            var t = {type: "JSbridge", functionName: "getMyPhoto"}, o = prompt(JSON.stringify(t));
            if ("0" == o) (n += 1) > 1e3 && (window.clearInterval(r), a({
                retCode: "-1",
                retMsg: "失败",
                retData: ""
            })); else if ("-1" == o) {
                window.clearInterval(r), s({retCode: "0", retMsg: "您取消了拍照", retData: ""})
            } else {
                window.clearInterval(r), "" + e.uploadFlag == "1" && (o = JSON.parse(o)), a({
                    retCode: "0",
                    retMsg: "成功",
                    retData: o
                })
            }
        }), 50)
    }, r.prototype.uploadFile = function (e) {
        var t = e.success;
        e.fail;
        window.webkit.messageHandlers.openImagePicker.postMessage({params: "2"});
        var a = 0, s = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getMyPhoto"}, n = prompt(JSON.stringify(e));
            "0" == n ? (a += 1) > 1e3 && (window.clearInterval(s), t({
                retCode: "-1",
                retMsg: "失败",
                retData: ""
            })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: n}))
        }), 50)
    }, r.prototype.scan = function (e) {
        var t = e.success;
        e.fail;
        window.webkit.messageHandlers.openScanView.postMessage({});
        var a = 0, s = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getScanResult"}, n = prompt(JSON.stringify(e));
            "0" == n ? (a += 1) > 5e3 && (window.clearInterval(s), t({
                retCode: "-1",
                retMsg: "失败",
                retData: ""
            })) : (window.clearInterval(s), t({retCode: "0", retMsg: "成功", retData: n}))
        }), 100)
    }, r.prototype.showMenu = function (e) {
        e.success, e.fail;
        window.webkit.messageHandlers.showMenu.postMessage({})
    }, r.prototype.hideMenu = function (e) {
        e.success, e.fail;
        window.webkit.messageHandlers.hideMenu.postMessage({})
    }, r.prototype.saveLocalData = function (e) {
        var t = e.success, a = (e.fail, {appCode: e.appCode, key: e.key, value: e.value});
        window.webkit.messageHandlers.saveLocalData.postMessage({params: JSON.stringify(a)});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, r.prototype.getLocalData = function (e) {
        var t = e.success, a = e.fail,
            s = {type: "JSbridge", functionName: "getLocalData", appCode: e.appCode, key: e.key},
            n = prompt(JSON.stringify(s));
        n ? t({retCode: "0", retMsg: "成功", retData: n}) : a({retCode: "-1", retMsg: "找不到数据", retData: ""})
    }, r.prototype.getGps = function (e) {
        var t = e.success, a = (e.fail, "" + e.type);
        window.webkit.messageHandlers.getGps.postMessage({params: a});
        var s = 0, n = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getGpsReturn"}, a = prompt(JSON.stringify(e));
            if ("0" == a) {
                if ((s += 1) > 1e3) window.clearInterval(n), t(r = {retCode: "-1", retMsg: "失败", retData: ""})
            } else {
                window.clearInterval(n);
                var r = {retCode: "0", retMsg: "成功", retData: JSON.parse(a)};
                t(r)
            }
        }), 50)
    }, r.prototype.showKeyboard = function () {
        window.webkit.messageHandlers.showKeyboard.postMessage({})
    }, r.prototype.banSlide = function (e) {
        e.success, e.fail;
        window.webkit.messageHandlers.banSlide.postMessage({})
    }, r.prototype.share = function (e) {
        e.success, e.fail;
        var t = e.appCode, a = e.param, s = {appCode: t, shareType: e.shareType, param: JSON.stringify(a)};
        window.webkit.messageHandlers.appShare.postMessage({params: JSON.stringify(s)})
    }, r.prototype.joinOnlineMeeting = function (e) {
        var t = e.success, a = (e.fail, e.meetingId), s = e.meetingUrl, n = e.meetingPassword, r = e.isOpenCamera,
            o = (e.isOpenAudio, {
                meetingId: a,
                meetingUrl: s,
                meetingPassword: n,
                isOpenCamera: r ? "1" : "0",
                speakerStatus: e.speakerStatus ? "1" : "0"
            });
        window.webkit.messageHandlers.joinOnlineMeeting.postMessage({params: JSON.stringify(o)});
        t({retCode: "0", retMsg: ""})
    }, r.prototype.showWatermark = function (e) {
        e.success, e.fail;
        window.webkit.messageHandlers.showWaterBg.postMessage({})
    }, r.prototype.getNewAppToken = function (e) {
        e.success, e.fail;
        var t = e.oldAppToken;
        window.webkit.messageHandlers.getNewAppToken.postMessage({params: t});
        var a = {type: "JSbridge", functionName: "getNewAppTokenReturn"};
        prompt(JSON.stringify(a))
    }, r.prototype.getFontSize = function (e) {
        e.success, e.fail;
        var t = {type: "JSbridge", functionName: "getFontSize"};
        prompt(JSON.stringify(t))
    }, r.prototype.getFace = function (e) {
        var t = e.success, a = e.fail;
        window.webkit.messageHandlers.openCRMSDK.postMessage({});
        var s = 0, n = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getCRMSDKReturn"}, r = prompt(JSON.stringify(e));
            "0" == r ? (s += 1) > 1e3 && (window.clearInterval(n), a({
                retCode: "-1",
                retMsg: "失败",
                retData: ""
            })) : (window.clearInterval(n), t({retCode: "0", retMsg: "成功", retData: {img16: r}}))
        }), 200)
    }, r.prototype.wechatShare = function (e) {
        var t = e.success, a = (e.fail, {
            content: e.content,
            webpageUrl: e.webpageUrl,
            title: e.title,
            imgUrl: e.imgUrl,
            description: e.description
        });
        window.webkit.messageHandlers.wechatShare.postMessage({params: JSON.stringify(a)});
        t({retCode: "0", retMsg: ""})
    }, r.prototype.uploadAudio = function (e) {
        var t = e.param, a = e.success;
        e.fail;
        if ("0" == t) {
            window.webkit.messageHandlers.openAudioView.postMessage({});
            a({retCode: "0", retMsg: "开始录制", retData: "0"})
        } else {
            window.webkit.messageHandlers.stopAudioView.postMessage({});
            var s = 0, n = window.setInterval((function () {
                var e = {type: "JSbridge", functionName: "getMyAudio"}, t = prompt(JSON.stringify(e));
                "0" == t ? (s += 1) > 1e3 && (window.clearInterval(n), a({
                    retCode: "-1",
                    retMsg: "录音失败",
                    retData: ""
                })) : (window.clearInterval(n), a({retCode: "0", retMsg: "成功", retData: t}))
            }), 100)
        }
    }, r.prototype.audioToText = function (e) {
        var t = e.param, a = e.success;
        e.fail;
        if ("0" == t) {
            window.webkit.messageHandlers.openAudioView.postMessage({params: "1"});
            a({retCode: "0", retMsg: "开始录制", retData: "0"})
        } else {
            window.webkit.messageHandlers.stopAudioView.postMessage({});
            var s = 0, n = window.setInterval((function () {
                var e = {type: "JSbridge", functionName: "getMyAudio"}, t = prompt(JSON.stringify(e));
                "0" == t ? (s += 1) > 1e3 && (window.clearInterval(n), a({
                    retCode: "-1",
                    retMsg: "录音失败",
                    retData: ""
                })) : (window.clearInterval(n), a({retCode: "0", retMsg: "成功", retData: t}))
            }), 100)
        }
    }, r.prototype.fileDownLoad = function (e) {
        var t = e.fileUrl;
        e.cookie || void 0 === e.cookie || 0 == e.cookie || (t = e.fileUrl + "##" + e.cookie);
        e.success, e.fail;
        window.webkit.messageHandlers.fileDownLoad.postMessage({params: t})
    }, r.prototype.wxApplet = function (e) {
        var t = {appId: e.appId, userName: e.userName, path: e.path};
        e.success, e.fail;
        window.webkit.messageHandlers.wxApplet.postMessage({params: JSON.stringify(t)})
    }, r.prototype.goNativeMap = function (e) {
        var t = {desAddress: e.desAddress, myLat: e.myLat, myLng: e.myLng, desLat: e.desLat, desLng: e.desLng};
        e.success, e.fail;
        window.webkit.messageHandlers.goNativeMap.postMessage({params: JSON.stringify(t)})
    };
    var o = function () {
    };
    o.prototype.logout = function (e) {
        var t = e.success;
        e.fail;
        window.webkit.messageHandlers.closeMainAPP.postMessage({});
        t({retCode: "0", retMsg: "成功"})
    }, o.prototype.openAuth = function (e) {
        window.webkit.messageHandlers.getOpenAuth.postMessage({});
        var t = e.success, a = e.fail, s = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getTYToken"}, n = prompt(JSON.stringify(e));
            "" == n || ("error" == n ? (window.clearInterval(s), a(n)) : (window.clearInterval(s), t(n)))
        }), 100)
    }, o.prototype.launchHome = function (e) {
        var t = e.tyrzAccessToken, a = e.userAccessToken, s = e.imToken, n = e.ce, r = e.te, o = e.userId, i = {
            tyrzAccessToken: t,
            userAccessToken: a,
            imToken: s,
            staff_name: e.staff_name,
            userId: o,
            innerUserFlag: e.innerUserFlag,
            vpnFlag: e.vpnFlag,
            menWeiFlag: e.menWeiFlag,
            phoneNum: e.phoneNum,
            ce: decodeURIComponent(n),
            te: decodeURIComponent(r)
        };
        window.webkit.messageHandlers.launchHome.postMessage({params: JSON.stringify(i)})
    }, o.prototype.getUserToken = function (e) {
        e.type;
        var t = e.success, a = (e.fail, {type: "JSbridge", functionName: "getUserToken"});
        t({retCode: "0", retMsg: "成功", retData: prompt(JSON.stringify(a))})
    }, o.prototype.getVersion = function (e) {
        var t = e.success, a = (e.fail, {type: "JSbridge", functionName: "getVersion"});
        t({retCode: "0", retMsg: "成功", retData: prompt(JSON.stringify(a))})
    }, o.prototype.hasPermisiiion = function (e) {
        var t = e.success;
        e.fail;
        t({retCode: 0, retMsg: "成功", retData: ""})
    }, o.prototype.openSetting = function (e) {
        e.success, e.fail
    }, o.prototype.installApp = function (e) {
        var t = e.success, a = (e.fail, e.appInfo),
            s = {retCode: "1", retMsg: "成功", retData: {appId: a.APP_ID, progress: 1}};
        t(s), window.webkit.messageHandlers.installApp.postMessage({params: JSON.stringify(a)});
        var n = 0, r = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getInstallState", appInfo: JSON.stringify(a)},
                s = prompt(JSON.stringify(e));
            n < 100 && 1 == s && (n += 1);
            var o = {retCode: s, retMsg: "成功", retData: {appId: a.APP_ID, progress: n}};
            if (t(o), 100 == n || "0" == s || "-1" == s) {
                window.clearInterval(r);
                o = {retCode: s, retMsg: "成功", retData: {appId: a.APP_ID, progress: 100}};
                t(o)
            }
        }), 200)
    }, o.prototype.unInstallApp = function (e) {
        var t = e.appCode, a = e.appId, s = e.success, n = (e.fail, {appId: a, appCode: t});
        window.webkit.messageHandlers.unInstallApp.postMessage({params: JSON.stringify(n)});
        s({retCode: "0", retMsg: ""})
    }, o.prototype.updateAppInfo = function (e) {
        var t = e.success, a = (e.fail, e.appInfo);
        window.webkit.messageHandlers.updateAppInfo.postMessage({params: JSON.stringify(a)});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.checkUpdate = function (e) {
        var t = e.success;
        e.fail, e.type;
        window.webkit.messageHandlers.checkUpdate.postMessage({});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.getInnerAppVersion = function (e) {
        var t = e.success,
            a = (e.fail, {type: "JSbridge", functionName: "getInnerAppVersion", appCode: e.appCode, appId: e.appId});
        t({retCode: "0", retMsg: "成功", retData: prompt(JSON.stringify(a))})
    }, o.prototype.changeEnterprise = function (e) {
        var t = e.success, a = (e.fail, e.companyId);
        window.webkit.messageHandlers.changeEnterprise.postMessage({params: a});
        t({retCode: "0", retMsg: "成功"})
    }, o.prototype.applyJoinTeam = function (e) {
        var t = e.teamId, a = e.success;
        e.fail;
        window.webkit.messageHandlers.applyJoinTeam.postMessage({params: t});
        a({retCode: "0", retMsg: "成功"})
    }, o.prototype.startP2PSession = function (e) {
        var t = e.success;
        e.fail;
        window.webkit.messageHandlers.personalChat.postMessage({params: e.account});
        t({retCode: "0", retMsg: "成功"})
    }, o.prototype.startAudio = function (e) {
        var t = e.success, a = (e.fail, e.account);
        window.webkit.messageHandlers.startAudio.postMessage({params: a});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.startVideo = function (e) {
        var t = e.success, a = (e.fail, e.account);
        window.webkit.messageHandlers.startVideo.postMessage({params: a});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.startTeamSession = function (e) {
        var t = e.success, a = (e.fail, e.account);
        window.webkit.messageHandlers.groupChat.postMessage({params: a});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.startVideo = function (e) {
        var t = e.success, a = (e.fail, e.account);
        window.webkit.messageHandlers.startVideo.postMessage({params: a});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.openStudySearch = function (e) {
        window.webkit.messageHandlers.openStudySearch.postMessage({})
    }, o.prototype.openUserInfoPage = function (e) {
        var t = e.success, a = (e.fail, e.account);
        window.webkit.messageHandlers.openUserInfoPage.postMessage({params: a});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.getNetworkModle = function (e) {
        var t = e.success, a = (e.fail, {type: "JSbridge", functionName: "getNetworkModle"}),
            s = prompt(JSON.stringify(a));
        t({retCode: "0", retMsg: "成功", retData: parseInt(s)})
    }, o.prototype.getInnerUserFlag = function (e) {
        var t = e.success, a = (e.fail, {type: "JSbridge", functionName: "getInnerUserFlag"});
        t({retCode: "0", retMsg: "成功", retData: prompt(JSON.stringify(a))})
    }, o.prototype.openMyPage = function (e) {
        var t = e.success;
        e.fail;
        window.webkit.messageHandlers.openMinePage.postMessage({});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.openCreateTeamPage = function (e) {
        var t = e.success;
        e.fail;
        window.webkit.messageHandlers.openCreateTeamPage.postMessage({});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.displayMessageActivity = function (e) {
        var t = e.success, a = (e.fail, {uuid: e.uuid, sessionId: e.sessionId});
        window.webkit.messageHandlers.displayMessageActivity.postMessage({params: JSON.stringify(a)});
        t({retCode: "0", retMsg: "成功", retData: ""})
    }, o.prototype.queryRecentContacts = function (e) {
        var t = e.success,
            a = (e.fail, {type: "JSbridge", functionName: "queryRecentContacts", pageNum: "" + e.pageNum}),
            s = prompt(JSON.stringify(a));
        t({retCode: "0", retMsg: "成功", retData: JSON.parse(s)})
    }, o.prototype.searchTeam = function (e) {
        var t = e.success, a = (e.fail, e.msg);
        window.webkit.messageHandlers.searchTeam.postMessage({params: a});
        var s = 0, n = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getSearchTeamResult"}, a = prompt(JSON.stringify(e));
            if ("0" == a) {
                if ((s += 1) > 100) window.clearInterval(n), t(r = {retCode: "-1", retMsg: "失败", retData: ""})
            } else {
                window.clearInterval(n);
                var r = {retCode: "0", retMsg: "成功", retData: JSON.parse(a)};
                t(r)
            }
        }), 100)
    }, o.prototype.searchMsg = function (e) {
        var t = e.success, a = (e.fail, e.query);
        window.webkit.messageHandlers.searchMsg.postMessage({params: a});
        var s = 0, n = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getSearchMsgResult"}, a = prompt(JSON.stringify(e));
            if ("0" == a) {
                if ((s += 1) > 100) window.clearInterval(n), t(r = {retCode: "-1", retMsg: "失败", retData: ""})
            } else {
                window.clearInterval(n);
                var r = {retCode: "0", retMsg: "成功", retData: JSON.parse(a)};
                t(r)
            }
        }), 100)
    }, o.prototype.searchDetailMessage = function (e) {
        var t = e.success,
            a = (e.fail, {query: e.query, count: e.count, sessionId: e.sessionId, sessionType: e.sessionType});
        window.webkit.messageHandlers.searchDetailMessage.postMessage({params: JSON.stringify(a)});
        var s = 0, n = window.setInterval((function () {
            var e = {type: "JSbridge", functionName: "getSearchDetailMessage"}, a = prompt(JSON.stringify(e));
            if ("0" == a) {
                if ((s += 1) > 100) window.clearInterval(n), t(r = {retCode: "-1", retMsg: "失败", retData: ""})
            } else {
                window.clearInterval(n);
                var r = {retCode: "0", retMsg: "成功", retData: JSON.parse(a)};
                t(r)
            }
        }), 100)
    }, o.prototype.getHeadImgUrl = function (e) {
        var t = e.success, a = (e.fail, {type: "JSbridge", functionName: "getHeadImgUrl"});
        t({retCode: "0", retMsg: "成功", retData: prompt(JSON.stringify(a))})
    }, o.prototype.addMembersToTeam = function (e) {
        var t = e.success, a = (e.fail, {selected: e.selected, teamId: e.teamId}),
            s = {type: "JSbridge", functionName: "addMembersToTeam", addInfo: JSON.stringify(a)};
        t({retCode: "0", retMsg: "成功", retData: prompt(JSON.stringify(s))})
    }, o.prototype.forwardMessage = function (e) {
        var t = e.success, a = (e.fail, {uuid: e.uuid, select: e.select}),
            s = {type: "JSbridge", functionName: "forwardMessage", forwardInfo: JSON.stringify(a)},
            n = prompt(JSON.stringify(s));
        data = {retCode: "1", retMsg: "", retData: n}, t(data)
    }, o.prototype.setReadPoint = function (e) {
        var t = e.moduleId, a = e.count, s = e.success, n = (e.fail, {moduleId: t, count: a});
        window.webkit.messageHandlers.setReadPoint.postMessage({params: JSON.stringify(n)}), data = {
            retCode: "0",
            retMsg: "",
            retData: ""
        }, s(data)
    }, o.prototype.setDuMessageNoticeType = function (e) {
        var t = "" + e.type, a = e.success;
        e.fail;
        window.webkit.messageHandlers.setDuMessageNoticeType.postMessage({params: t}), data = {
            retCode: "0",
            retMsg: "",
            retData: ""
        }, a(data)
    }, o.prototype.getDuMessageNoticeType = function (e) {
        var t = e.success, a = (e.fail, {type: "JSbridge", functionName: "getDuMessageNoticeType"});
        t({retCode: "0", retMsg: "成功", retData: prompt(JSON.stringify(a))})
    }, t.SubAPPExchange = s, t.MainAPPExchange = n, t.SubAPPExchangeNew = r, t.MainAPPExchangeNew = o
}, function (e, t, a) {
    "use strict";
    Object.defineProperty(t, "__esModule", {value: !0});
    var s = {
        getToken: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getToken", e)
        }, audioToText: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "audioToText", e)
        }, getTokenFromUrl: function (e) {
            e = e || {};
            for (var t = "", a = "", s = window.location.href, n = s.indexOf("?"), r = s.substr(n + 1).split("&"), o = 0; o < r.length; o++) if ((n = r[o].indexOf("=")) > 0) {
                var i = r[o].substring(0, n), p = r[o].substr(n + 1);
                "appToken" == i ? t = p : "ssoToken" == i && (a = p)
            }
            t || a ? e.success({
                retCode: "0",
                retMsg: "成功",
                retData: {appToken: t, ssoToken: a}
            }) : e.fail({retCode: "-1", retMsg: "获取token失败"})
        }, getNewAppToken: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getNewAppToken", e)
        }, saveLocalData: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "saveLocalData", e)
        }, getLocalData: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getLocalData", e)
        }, openApp: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "openApp", e)
        }, startNativeApp: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "openApp", e)
        }, startHtmlApp: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "openApp", e)
        }, closeApp: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "closeApp", e)
        }, sendMsg: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "sendMsg", e)
        }, call: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "call", e)
        }, getGps: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getGps", e)
        }, takePhoto: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "takePhoto", e)
        }, scan: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "scan", e)
        }, scanImg: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "scanImg", e)
        }, showWatermark: function (e) {
            (e = e || {}).flag = "1", r(e.success, e.fail, "WorkHelper", "setWatermarkState", e)
        }, hideWatermark: function (e) {
            (e = e || {}).flag = "0", r(e.success, e.fail, "WorkHelper", "setWatermarkState", e)
        }, banScreenshot: function (e) {
            (e = e || {}).flag = "1", r(e.success, e.fail, "WorkHelper", "setScreenshotState", e)
        }, canScreenshot: function (e) {
            (e = e || {}).flag = "0", r(e.success, e.fail, "WorkHelper", "setScreenshotState", e)
        }, hideMenu: function (e) {
            (e = e || {}).flag = "1", r(e.success, e.fail, "WorkHelper", "setMenuState", e)
        }, showMenu: function (e) {
            (e = e || {}).flag = "0", r(e.success, e.fail, "WorkHelper", "setMenuState", e)
        }, getScreen: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getScreen", e)
        }, share: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "share", e)
        }, contentShare: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "contentShare", e)
        }, screenShare: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "screenShare", e)
        }, collect: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "collect", e)
        }, sendEmail: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "sendEmail", e)
        }, getFontSize: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getFontSize", e)
        }, openVideo: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "openVideo", e)
        }, printLog: function (e, t, a) {
            if (e && t && a) {
                var s = {tag: e, content: t, level: a};
                r(s.success, s.fail, "WorkHelper", "printLog", s)
            }
        }, getIMEI: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getIMEI", e)
        }, showKeyboard: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "showKeyboard", e)
        }, joinOnlineMeeting: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "joinOnlineMeeting", e)
        }, uploadFile: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "uploadFile", e)
        }, uploadAudio: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "uploadAudio", e)
        }, getFace: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getFace", e)
        }, createShortcut: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "createShortcut", e)
        }, getStoragePermission: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getStoragePermission", e)
        }, wxApplet: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "wxApplet", e)
        }, goNativeMap: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "goNativeMap", e)
        }, multiTakePhoto: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "multiTakePhoto", e)
        }, getCardId: function (e) {
            r((e = e || {}).success, e.fail, "WorkHelper", "getCardId", e)
        }
    }, n = {
        getNetworkModle: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getNetworkModle", e)
        }, getUserToken: function (e) {
            (e = e || {}).type || (e.type = "0"), r(e.success, e.fail, "SelfHelper", "getUserToken", e)
        }, getHeadImgUrl: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getHeadImgUrl", e)
        }, loginByAccount: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "loginByAccount", e)
        }, launchHome: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "launchHome", e)
        }, openAuth: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "openAuth", e)
        }, openAuthLogin: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "openAuthLogin", e)
        }, openMIniAuthLogin: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "openMIniAuthLogin", e)
        }, checkUpdate: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "checkUpdate", e)
        }, getVersion: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getVersion", e)
        }, updateAppInfo: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "updateAppInfo", e)
        }, installApp: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "installApp", e)
        }, unInstallApp: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "unInstallApp", e)
        }, getInstallState: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getInstallState", e)
        }, logout: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "logout", e)
        }, setFontSize: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "setFontSize", e)
        }, setCallingCardState: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "setCallingCardState", e)
        }, getCallingCardState: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getCallingCardState", e)
        }, openMyPage: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "openMyPage", e)
        }, getInnerUserFlag: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getInnerUserFlag", e)
        }, openCreateTeamPage: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "openCreateTeamPage", e)
        }, setReadPoint: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "setReadPoint", e)
        }, getOfflineH5AppFileUrl: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getOfflineH5AppFileUrl", e)
        }, getInnerAppVersion: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getInnerAppVersion", e)
        }, restartApp: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "restartApp", e)
        }, openUserInfoPage: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "openUserInfoPage", e)
        }, openMyFiles: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "openMyFiles", e)
        }, getContacts: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getContacts", e)
        }, getRecentContact: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getRecentContact", e)
        }, clearCache: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "clearCache", e)
        }, getImUserID: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getImUserID", e)
        }, getTeam: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getTeam", e)
        }, getUser: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getUser", e)
        }, goToUserProfile: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "goToUserProfile", e)
        }, shareToFriend: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "shareToFriend", e)
        }, startP2PSession: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "startP2PSession", e)
        }, startTeamSession: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "startTeamSession", e)
        }, createTeamChart: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "createTeamChart", e)
        }, queryRecentContacts: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "queryRecentContacts", e)
        }, addMembersToTeam: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "addMembersToTeam", e)
        }, searchTeamMessageHistory: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "searchTeamMessageHistory", e)
        }, searchMsg: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "searchMsg", e)
        }, searchTeam: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "searchTeam", e)
        }, displayMessageActivity: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "displayMessageActivity", e)
        }, forwardMessage: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "forwardMessage", e)
        }, searchDetailMessage: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "searchDetailMessage", e)
        }, startAudio: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "startAudio", e)
        }, startVideo: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "startVideo", e)
        }, isShowVoice: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "isShowVoice", e)
        }, showFlag: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "showFlag", e)
        }, quitTeam: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "quitTeam", e)
        }, dismissTeam: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "dismissTeam", e)
        }, isShowVibration: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "isShowVibration", e)
        }, vibrationFlag: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "vibrationFlag", e)
        }, applyJoinTeam: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "applyJoinTeam", e)
        }, loginVpn: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "loginVpn", e)
        }, getvpnStatus: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getvpnStatus", e)
        }, continueToLoginWithExtraCode: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "continueToLoginWithExtraCode", e)
        }, changeEnterprise: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "changeEnterprise", e)
        }, getVpnSms: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getVpnSms", e)
        }, LoginByVpn: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "LoginByVpn", e)
        }, setStoregeState: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "setStoregeState", e)
        }, getDayOrNightStatus: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getDayOrNightStatus", e)
        }, getSdkVersion: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getSdkVersion", e)
        }, setNightStatus: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "setNightStatus", e)
        }, getNightStatus: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getNightStatus", e)
        }, setHeadImgUrl: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "setHeadImgUrl", e)
        }, openSetting: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "openSetting", e)
        }, getDuMessageNoticeType: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "getDuMessageNoticeType", e)
        }, setDuMessageNoticeType: function (e) {
            r((e = e || {}).success, e.fail, "SelfHelper", "setDuMessageNoticeType", e)
        }
    };

    function r(e, t, a, s, n) {
        n = n || {};
        var r = a + o.callbackId++, i = JSON.stringify(n);
        (e || t) && (o.callbacks[r] = {success: e, fail: t});
        var p = JSON.parse(_JsInterfaceNative.exec(a, s, r, i));
        p && p.status != o.callbackStatus.NO_RESULT && o.callbackFromNative(p.callbackId, !0, p.status, [p.message], p.keepCallback)
    }

    var o = {
        callbackId: Math.floor(2e9 * Math.random()),
        callbacks: {},
        callbackStatus: {
            NO_RESULT: 0,
            OK: 1,
            CLASS_NOT_FOUND_EXCEPTION: 2,
            ILLEGAL_ACCESS_EXCEPTION: 3,
            INSTANTIATION_EXCEPTION: 4,
            MALFORMED_URL_EXCEPTION: 5,
            IO_EXCEPTION: 6,
            INVALID_ACTION: 7,
            JSON_EXCEPTION: 8,
            ERROR: 9
        },
        fireWindowEvent: function (e, t) {
            var a = createEvent(e, t);
            void 0 !== windowEventHandlers[e] ? setTimeout((function () {
                windowEventHandlers[e].fire(a)
            }), 0) : window.dispatchEvent(a)
        },
        callbackSuccess: function (e, t) {
            o.callbackFromNative(e, !0, t.status, [t.message], t.keepCallback)
        },
        callbackError: function (e, t) {
            o.callbackFromNative(e, !1, t.status, [t.message], t.keepCallback)
        },
        callbackFromNative: function (e, t, a, s, n) {
            try {
                var r = o.callbacks[e];
                r && (t && a === o.callbackStatus.OK ? r.success && r.success.apply(null, s) : r.fail && r.fail.apply(null, s), n || delete o.callbacks[e])
            } catch (a) {
                var i = "Error in " + (t ? "Success" : "Error") + " callbackId: " + e + " : " + a;
                throw o.fireWindowEvent("JsInterfacecallbackerror", {message: i}), a
            }
        }
    };
    t.WorkHelper = s, t.SelfHelper = n, t.JsInterface = o
}]);
